home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / 3c509drv.zip / NW286INS.BAT < prev    next >
DOS Batch File  |  1993-06-01  |  2KB  |  95 lines

  1. echo off
  2. REM %%VER NetWare 286 Drivers Installation Utility Program v2.0b
  3. if %mono%==y goto b&w
  4. ..\install\flushkey
  5. ..\install\check videocard
  6. if errorlevel 1 goto color
  7. :b&w
  8. cls
  9. goto contin
  10. :color
  11. ..\install\get b 31
  12. :contin
  13. type ..\blank2.men
  14.  
  15. ..\install\echoxy 4 28 N E T W A R E     M E N U
  16. ..\install\echoxy 6 17 I N S T A L L I N G    N E T W A R E    D R I V E R S
  17. ..\install\echoxy 8 14 This utility copies the EtherLink III drivers to a
  18. ..\install\echoxy 9 14 NetWare 286 server or a workstation hard disk or floppy.
  19. ..\install\echoxy 11 14 To install the drivers from an existing file server, you
  20. ..\install\echoxy 12 14 must map to the volume where the generation or installation
  21. ..\install\echoxy 13 14 utilities reside.  Use the mapped drive designator for
  22. ..\install\echoxy 14 14 the target drive.
  23.  
  24. ..\install\echoxy 16 24 Continue? (y/n):
  25. ..\install\reply
  26. if errorlevel 122 goto inval
  27. if errorlevel 121 goto getdrv
  28. if errorlevel 111 goto inval
  29. if errorlevel 110 goto netware
  30. if errorlevel 90  goto inval
  31. if errorlevel 89  goto getdrv
  32. if errorlevel 79  goto inval
  33. if errorlevel 78  goto netware
  34. if errorlevel 60  goto inval
  35. if errorlevel 59  goto help
  36. if errorlevel 28  goto inval
  37. if errorlevel 27  goto netware
  38. if errorlevel 1   goto inval
  39.  
  40. :getdrv
  41. ..\install\echoxy 0 50 █████████████████████████████
  42. ..\install\echoxy 16 10
  43. ..\install\get c "       Enter the target drive letter:  "
  44.  
  45. if errorlevel 127 goto inval
  46. if errorlevel 126 goto netware
  47. if errorlevel 123 goto inval
  48. if errorlevel 97  goto contin1
  49. if errorlevel 91  goto inval
  50. if errorlevel 65  goto contin1
  51. if errorlevel 1   goto inval
  52.  
  53. :contin1
  54. if not exist %get%:\*.* goto baddrv
  55. set tardrv=%get%:
  56. ..\install\echoxy 18 10
  57. ..\install\get n  "       Update files to drive %tardrv% (y/n): "
  58. if errorlevel 126 goto netware
  59. if errorlevel 89 goto ok
  60. nw286ins
  61.  
  62. :ok
  63. ..\install\echoxy 18 10
  64. type ..\blank.lin
  65. 286\update %tardrv%
  66.  
  67. :inval
  68. ..\install\echoxy 21 17 **** Invalid key, try again. ****
  69. echo 
  70. echo 
  71. echo.
  72. nw286ins
  73.  
  74. :help
  75. ..\install\echoxy 24 1
  76. type 286\ins286.hlp
  77. pause
  78. nw286ins
  79.  
  80. :baddrv
  81. echo 
  82. echo 
  83. ..\install\echoxy 19 14 Invalid drive letter or drive not mapped.
  84. ..\install\echoxy 20 14 Drive must be mapped before running the Update utility.
  85. ..\install\echoxy 22 13 Strike any key to continue.
  86. ..\install\reply
  87. if errorlevel 28 goto ok1
  88. if errorlevel 27 goto netware
  89. :ok1
  90. nw286ins
  91.  
  92. :netware
  93. netware
  94.  
  95.